-- GENERATED SPELL FOR [Moonrest Stalker] --


function spell0_26281(pUnit, Event) --@Mana Burn,n/a--
pUnit:FullCastSpellOnTarget(2691,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_26281', 336, 1)
end

function Sorts_26281(pUnit, Event)
local choix_sorts_26281 = math.random(0, 0)
if choix_sorts_26281 == 0 then
pUnit:RegisterEvent('spell0_26281', 1, 1)
end
end

function mob26281_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_26281', math.random(1500, 3000), 1)
end

function mob26281_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26281_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob26281_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(26281, 1, 'mob26281_Action')
RegisterUnitEvent(26281, 2, 'mob26281_Leave')
RegisterUnitEvent(26281, 3, 'mob26281_Kill')
RegisterUnitEvent(26281, 4, 'mob26281_Die')
